﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RushTracker.Core.Models.Torrents
{
    public class Category
    {
        public Category()
        {
            Id = -1;
            Categories = new List<Category>();
            MetaFields = new List<MetaField>();
            Torrents = new List<Torrent>();
        }

        public virtual int Id { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual string IconUrl { get; set; }
        public virtual Category Parent { get; set; }
        public virtual IList<Category> Categories { get; set; }
        public virtual IList<Torrent> Torrents { get; set; }
        public virtual IList<MetaField> MetaFields { get; set; }
    }
}
